package iris_controller

//func init() {
//	prepare.RegisterController(func() {
//		controller := NewOrganizeNoAuthController()
//		prepare.InjectController(func() *OrganizeNoAuth {
//			return controller
//		})
//	})
//}
//
//type OrganizeNoAuth struct {
//	Organize *domain.Organize
//}
//
//func NewOrganizeNoAuthController() *OrganizeNoAuth {
//	r := &OrganizeNoAuth{}
//	prepare.FetchDependency(&r.Organize)
//	return r
//}

//// Get serves
//// Method:   GET
//// Resource: http://localhost:8080/api/organizenoauth/tree/build
//func (c *OrganizeNoAuth) GetTreeBuild(ctx iris.Context) *infra.Response {
//	err := c.Organize.BuildTree()
//	if err != nil {
//		return infra.ResponseReqErr(err, nil)
//	}
//	return infra.ResponseOK(nil)
//}
